home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Hourglass / Static / Makefile < prev   
Makefile  |  1995-07-09  |  1KB  |  59 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Off    \
  4.             o.On    \
  5.             o.Percentage    \
  6.             o.Smash    \
  7.             o.Start    \
  8.  
  9.  
  10. LibName        =    Hourglass
  11.  
  12. # Template makefile which makes normal 
  13. # .o files for use in the main static
  14. # linking DeskLib.
  15.  
  16. # The macro $(ObjectFiles) should be set at the 
  17. # start of this file to be a space-separated
  18. # list of object files.
  19. # This is done by 'Makatic'.
  20.  
  21. # The macro $(LibName) should also be set at the 
  22. # start of this file, to be the name of the 
  23. # DeskLib sublibrary.
  24. # This is done by 'Makatic'.
  25.  
  26. # Compiler and linker flags, These can be anything. 
  27. # All essential flags are included in the macros 
  28. # $(CC) and $(ASM)
  29. #
  30. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  31. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  32.  
  33. CC        =    cc -c $(CCFlags)
  34. ASM        =    objasm $(ASMFlags)
  35.  
  36.  
  37. # -------------------------------------------------------
  38. # Everything below here should probably not be changed...
  39. # -------------------------------------------------------
  40.  
  41. # Here's what we want to make...
  42. #
  43. All:        $(ObjectFiles)
  44.  
  45.  
  46. VPATH = @.^
  47.  
  48. .SUFFIXES:    .c .s .o
  49.  
  50. .c.o:
  51.     $(CC) $< -o $@
  52.     
  53. .s.o:
  54.     $(ASM) -from $< -to $@
  55.  
  56.  
  57.  
  58. # Dynamic dependencies:
  59.